package main

import (
	"github.com/gin-gonic/gin"
	"zk333/api"
	"zk333/config"
	"zk333/inits"
)

func main() {
	router := gin.Default()
	// 初始化模块
	config.Init()
	inits.InitMysql()
	inits.InitRedis()
	// 初始化路由
	api.LoadRouter(router)
	_ = router.Run(":8080")
}
